import 'dart:async';

import 'package:flutter/material.dart';

import 'app.dart';
import 'env.dart';

void main() {
  runZonedGuarded(() async {
    WidgetsFlutterBinding.ensureInitialized();
    await Env.initPlatformState();
    debugPrint = (message, {wrapWidth}) {};
    runApp(App());
  }, (error, stackTrace) {
    debugPrint('Unhandled error: $error');
    debugPrint('StackTrace: $stackTrace');
  });
}
